<%@ page language="java" pageEncoding="utf-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>

<form role="form">
	<input type="hidden" name="id" value="${m.id }">
	<input type="hidden" name="isMenu" value="true"/>
	<div class="form-body">
		<div class="form-group">
			<label>父菜单</label> 
			<select class="form-control" name="parentId" data-selected="${m.parent.id }">
				<c:forEach items="${allMenus }" var="p">
					<option value="${p.id }">${p.permissionName }</option>
				</c:forEach>
			</select>
		</div>
		<div class="form-group">
			<label>权限名称</label>
			<input type="text" class="form-control" name="permissionName" value="${m.permissionName }">
		</div>
		<div class="form-group">
			<label>权限地址</label>
			<select  class="form-control select2me" name="permissionSign" data-selected="${m.permissionSign }">
				<option></option>
				<c:forEach items="${allUrls }" var="url">
					<option >${url }</option>
				</c:forEach>
			</select>
		</div>
	</div>
</form>
